From: Ivan Molodetskikh Date: Sun, 6 Mar 2022 12:03:29 +0000 (+0300) Subject: windowManager: Change unfullscreen mode to NORMAL X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~480^2^2~98 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4bc195e79714f1c6787e05728a62e25b5b353040;p=gnome-shell.git windowManager: Change unfullscreen mode to NORMAL The unfullscreen action doesn't make sense in other modes. In the overview in particular it also prevents clicking on the top bar items on a workspace with a fullscreen client. Part-of: --- diff --git a/js/ui/windowManager.js b/js/ui/windowManager.js index cdd32dcf5..bd47e6e5d 100644 --- a/js/ui/windowManager.js +++ b/js/ui/windowManager.js @@ -941,7 +941,7 @@ var WindowManager = class { appSwitchAction.connect('activated', this._switchApp.bind(this)); global.stage.add_action_full('app-switch', Clutter.EventPhase.CAPTURE, appSwitchAction); - let mode = Shell.ActionMode.ALL & ~Shell.ActionMode.LOCK_SCREEN; + let mode = Shell.ActionMode.NORMAL; let topDragAction = new EdgeDragAction.EdgeDragAction(St.Side.TOP, mode); topDragAction.connect('activated', () => { let currentWindow = global.display.focus_window;